﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MusicApi.Models;

namespace MusicApi.Service
{
	/* interface for the service
	 * the REST services will use this interface to access the musicfiles 
	 * in that way we preserve loose coupling and cleaner code */
	public interface ISongService
	{
		IEnumerable<Song> GetAllSongs();
		IEnumerable<Song> GetSongByTitle(String title); /* could be many songs */
		IEnumerable<Song> GetSongsByArtist(String artist);
		String GetMusicFileDir();
		void HandleUploadFiles(String path);
		Song getSongByFilename(String filename);
        void HandleUpdateID3(Song song);
	}

}
